﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Sinacor.Servico.Bovespa.ManutencaoOrdens.Service.ServiceImplementation.Translator.BusinessEntityToDataContract
{
    public class Cliente
    {
        #region Construtor

        public Cliente()
        {
        }

        #endregion

        #region Metodos

        public DataContract.Cliente ToCLiente(BusinessEntity.Cliente from)
        {
            if (from == null) return null;

            return new Sinacor.Servico.Bovespa.ManutencaoOrdens.Service.DataContract.Cliente
            {
                Apelido = from.Apelido,
                Codigo = from.Codigo
            };
        }

        #endregion
    }
}
